import React from 'react'
import { NavBar, ResultPage } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'

const Success = () => {

    const nav = useNavigate()
  return (
    <div>
      <NavBar onBack={() => nav(-1)}>支付结果页</NavBar>
       <ResultPage
      status='success'
      title='支付成功'
      description='内容详情可折行，建议不超过两行建议不超过两行建议不超过两行'
    />
    </div>
  )
}

export default Success
